package com.javait.day8;

import javax.jws.soap.SOAPBinding;
import java.util.Scanner;

public class Demo2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入手机号:");
        String number=sc.next();
        String a=number.substring(0,3);
        String b=number.substring(7);
        System.out.println("您的手机号为;"+a+"****"+b);
    }
}
